#include "syscall.h"

int main()
{
	int inputval;
	int nNumofExecs;
	int i = 0;
	
	Write("\t*** Test Cases Options for Project-II ***\n\n\n", 43, 1);

	Write("0 -> Test Executing Part A\n", 28, 1);
	Write("1 -> Test Executing Part B\n", 28, 1);
	Write("2 -> Test Executing Part C\n", 28, 1);
	Write("3 -> Test Executing Multiple Museum Simulations\n", 51, 1);
	
	inputval = GetInputInt("Choice", 6);
	switch(inputval)
	{
		case 0:
			Exec("../test/proj2pa");
			break;
			
		case 1:
			Exec("../test/proj2pb");
			break;
			
		case 2:
			Exec("../test/proj2pc");		
			break;
			
		case 3:
			nNumofExecs = GetInputInt("Number Of Execs to Execute (MAX = 19)", 38);
			
			if (nNumofExecs < 0)
			{
				Write("Invalid value entered - Setting to default of 3\n", 50, 1);
				nNumofExecs = 3;
			}

			for (i = 0; i < nNumofExecs; i++)
			{
				Exec("../test/proj2pc");
			}
			break;
			
		default:
			Write("Invalid Choice\n", 16, 1);
			break;	
	}
}